using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PACKETPARSERMAX20.CORE;

namespace PACKETPARSERMAX20.CORE.DEFINITIONS
{
    public class CMSG_MOVE_TIME_SKIPPED_DEF : DefinitionBase
    {

        public override bool Process()
        {
            ResetPosition();

            UInt64 guid = 0;
            if (ClientBuild >= 10314)
            {
                guid = popGuid();
            }
            else
            {
                guid = ReadUInt64();
            }
            uint time_skipped = ReadUInt32();
            base.Result = "guid=" + guid.ToString() + ", time_skipped=" + time_skipped.ToString();
            return Validate();
        }
    }
}
